what kind of economy did ancient greece have